﻿namespace CamlQueryCreator
{
    /// <summary>
    /// Перечисление типов полей Sharepoint.
    /// </summary>
    public enum FieldTypeKind
    {
        Invalid,

        /// <summary>
        /// Целое число.
        /// </summary>
        Integer,

        /// <summary>
        /// Текстовая строка (длина не более 255 символов).
        /// </summary>
        Text,

        /// <summary>
        /// Многострочное поле.
        /// </summary>
        Note,

        /// <summary>
        /// Дата, время.
        /// </summary>
        DateTime,

        Counter,

        /// <summary>
        /// Поле выбора.
        /// </summary>
        Choice,

        /// <summary>
        /// Подстановочное поле.
        /// </summary>
        Lookup,

        /// <summary>
        /// Да/нет.
        /// </summary>
        Boolean,

        /// <summary>
        /// Дробное число.
        /// </summary>
        Number,

        Currency,
        URL,
        Computed,
        Threading,
        Guid,
        MultiChoice,
        GridChoice,
        Calculated,
        File,
        Attachments,

        /// <summary>
        /// Пользователь.
        /// </summary>
        User,

        Recurrence,
        CrossProjectLink,
        ModStat,
        Error,

        /// <summary>
        /// Идентификатор типа контента.
        /// </summary>
        ContentTypeId,

        PageSeparator,
        ThreadIndex,
        WorkflowStatus,
        AllDayEvent,
        WorkflowEventType,
        MaxItems,
    }
}
